import java.util.HashSet;
import java.util.Scanner;

public class Text {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        HashSet hs =new HashSet();
        Student stu1 = new Student(sc.nextInt(),sc.next());
        Student stu2 = new Student(sc.nextInt(),sc.next());
        Student stu3 = new Student(sc.nextInt(),sc.next());
        hs.add(stu1);
        hs.add(stu2);
        hs.add(stu3);
        System.out.println(hs);
    }
}
